package de.midnightdance.admin.disziplin;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.part.ViewPart;

public class ViewDisziplin extends ViewPart {

	public static final String ID = "de.midnightdance.admin.disziplin.ViewDisziplin";
	
	private CompositeEditDisziplinen compositeEditEntities;
	/**
	 * 
	 */
	public ViewDisziplin() {		
	}
		
	@Override
	public void createPartControl(Composite parent) {
		compositeEditEntities = new CompositeEditDisziplinen(parent, SWT.NONE);
		compositeEditEntities.setLayoutData(new GridData(GridData.FILL_BOTH));		
	}

	@Override
	public void setFocus() {		
	}

	/**
	 * @return the compositeEditEntities
	 */
	public CompositeEditDisziplinen getCompositeEditEntities() {
		return compositeEditEntities;
	}

}
